package com.api.taobao;

import com.taobao.api.ApiException;
import com.taobao.api.request.ItemcatsGetRequest;
import com.taobao.api.response.ItemcatsGetResponse;


public class Itemcatget {

    
    public static ItemcatsGetResponse  getItemCat(String cid)throws ApiException{
        ItemcatsGetRequest req=new ItemcatsGetRequest();
        req.setFields("cid,parent_cid,name,is_parent");
        req.setCids(cid);
        return  TaobaoApiInstance.getInstance().getClient().execute(req);
    }
    
	
}
